package com.banana.manager.forest.entity.info;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

@TableName("disease_info")
@Getter
@Setter
@NoArgsConstructor
@ToString
public class DiseaseBean {

    @TableId(value = "disease_id",type = IdType.AUTO)
    private Integer diseaseId;

    @TableField("disease_name")
    private String diseaseName;

    @TableField("disease_cause")
    private String diseaseCause;

    @TableField("disease_symptom")
    private String diseaseSymptom;

    @TableField("disease_regular")
    private String diseaseRegular;

    @TableField("disease_harm")
    private String diseaseHarm;

    @TableField("disease_photo")
    private String diseasePhoto;

    @TableField("disease_measure")
    private String diseaseMeasure;

    public DiseaseBean(String diseaseName, String diseaseCause, String diseaseSymptom, String diseaseRegular, String diseaseHarm, String diseasePhoto, String diseaseMeasure) {
        this.diseaseName = diseaseName;
        this.diseaseCause = diseaseCause;
        this.diseaseSymptom = diseaseSymptom;
        this.diseaseRegular = diseaseRegular;
        this.diseaseHarm = diseaseHarm;
        this.diseasePhoto = diseasePhoto;
        this.diseaseMeasure = diseaseMeasure;
    }


}
